package com.edushare.common.constants;

/**
 * Stores all URL invariants.
 * @author Naishe
 *
 */
public class URLConstants {

	//All paths that are mounted
	public static final String LOGIN_PATH 						= "login";
	public static final String REGISTER_PATH 					= "register";
	public static final String VERIFY_PATH 						= "verify";
	public static final String VERIFY_INVITE_PATH 				= "verifyInvite";
	public static final String APP_CONFIG_PATH 					= "app-config";
	
	public static final String TEST_PAGE_PATH 					= "test";
	public static final String LOST_PASSWORD                    = "lostPassword";
	public static final String PASSWORD_RESET                   = "resetPassword";
	public static final String FILE_DOWNLOAD_PATH 				= "files";
	public static final Object DEFAULT_IMG_DIR 					= "images";
	
	//public pages
	public static final String USER_PUBLIC_PAGE_SUMMARY 		= "profile";
	public static final String USER_PUBLIC_PAGE_PORTFOLIO 		= "portfolio";
	public static final String USER_PUBLIC_PAGE_PUBLICATIONS 	= "publications";
	public static final String USER_PUBLIC_PAGE_COURSES 		= "profile/courses";
	public static final String USER_PUBLIC_PAGE_DEPTS 			= "profile/departments";
	
	public static final String UNIV_PUBLIC_PAGE_HOME 			= "university";
	public static final String UNIV_PUBLIC_PAGE_PEOPLE 			= "university/people";
	public static final String UNIV_PUBLIC_PAGE_COURSES 		= "university/courses";
	public static final String UNIV_PUBLIC_PAGE_DEPT 			= "university/departments";

	public static final String DEPT_PUBLIC_PAGE_HOME 			= "department";
	public static final String DEPT_PUBLIC_PAGE_PEOPLE 			= "department/people";
	public static final String DEPT_PUBLIC_PAGE_COURSES 		= "department/courses";

	public static final String COURSE_PUBLIC_PAGE_HOME 			= "course";
	public static final String COURSE_PUBLIC_PAGE_PEOPLE 		= "course/people";
	
	public static final String GROUPS_PROFILE 					= "group/profile";
	public static final String GROUPS_PUBLIC_MEMBERS 			= "group/members";
	
	//Error pages
	public static final String INTERNAL_ERROR_PATH 				= "error";
	public static final String PAGE_NOT_FOUND_PATH 				= "404";
	public static final String UNAUTHORIZED_PATH 				= "unauthorized";
	
	//Univ Private pages
	public static final String UNIVERSITY_PROFILE_PATH 			= "univ";
	public static final String UNIVERSITY_FILES  				= "univ/files";
	public static final String UNIVERSITY_CALENDAR 				= "univ/calendar";
	public static final String UNIVERSITY_ACADEMIC_PROGRAMS 	= "univ/programs";
	public static final String UNIVERSITY_BATCHES 				= "univ/batches";
	public static final String UNIVERSITY_PEOPLE 				= "univ/people";
	public static final String UNIVERSITY_DEPT 					= "univ/departments";
	public static final String UNIVERSITY_COURSES 				= "univ/courses";
	public static final String UNIVERSITY_INVITE 				= "univ/invite";
	public static final String UNIVERSITY_NEW_DEPT 				= "univ/create-dept";
	public static final String UNIVERSITY_NEW_POLL 				= "univ/polls";
	public static final String UNIVERSITY_EDIT 					= "univ/edit";
		
	//Dept private pages
	public static final String DEPARTMENT_PROFILE_PATH 			= "dept";
	public static final String DEPARTMENT_FILES 				= "dept/files";
	public static final String DEPARTMENT_CALENDAR 				= "dept/calendar";
	public static final String DEPARTMENT_ACADEMIC_PROGRAM 		= "dept/programs";
	public static final String DEPARTMENT_PEOPLE 				= "dept/people";
	public static final String DEPARTMENT_BATCHES 				= "dept/batches";
	public static final String DEPARTMENT_COURSES 				= "dept/courses";
	public static final String DEPARTMENT_UNIVS 				= "dept/univ";
	public static final String DEPARTMENT_INVITE 				= "dept/invite";
	public static final String DEPARTMENT_NEW_COURSE 			= "dept/create-course";
	public static final String DEPARTMENT_NEW_POLL 				= "dept/polls";
	public static final String DEPARTMENT_EDIT 					= "dept/edit";
	public static final String DEPARTMENT_SETTINGS 				= "dept/settings";
	
	//course private pages
	public static final String COURSE_PROFILE_PATH 				= "cos"; //stands for course-of-study
	public static final String COURSE_ASSIGNMENTS 				= "cos/assignments";
	public static final String COURSE_FILES 					= "cos/files";
	public static final String COURSE_CALENDAR 					= "cos/calendar";
	public static final String COURSE_HISTORY 					= "cos/history";
	public static final String COURSE_PEOPLE 					= "cos/people";
	public static final String COURSE_INVITE 					= "cos/invite";
	public static final String COURSE_POLLS 					= "cos/polls";
	public static final String COURSE_DEPT 						= "cos/dept";
	public static final String COURSE_UNIV 						= "cos/univ";
	public static final String COURSE_EDIT 						= "cos/edit";
	public static final String COURSE_CREATE_ASSIGNMENT 		= "cos/new-assignment";
	public static final String COURSE_GRADING			 		= "cos/grading";
	
	
	//user pages
	public static final String USER_PROFILE_PATH 				= "user";
	public static final String USER_ASSIGNMENT 					= "user/assignment";
	public static final String USER_FILES 						= "user/files";
	public static final String USER_CALENDAR 					= "user/calendar";
	public static final String USER_EDIT 						= "user/edit";
	public static final String USER_POLLS 						= "user/polls";
	public static final String USER_UNIV 						= "user/univ";
	public static final String USER_DEPARTMENT 					= "user/dept";
	public static final String USER_COURSES 					= "user/courses";
	public static final String USER_SETTINGS 					= "user/settings";
	public static final String USER_GROUPS 						= "user/groups";
	public static final String USER_GRADING						= "user/grading";
	
	//Assignment pages
	public static final String ASSIGNMENT_PATH 					= "assignment";
	public static final String ASSIGNMENT_SUBMISSION 			= "assignment/submissions";
	public static final String ASSIGNMENT_EDIT 					= "assignment/edit";
	
	//Poll pages
	public static final String POLL_RESULT 						= "poll/result";
	public static final String POLL_SUMMARY 					= "poll/summary";
	public static final String POLL_RESPONSE 					= "poll/response";
	
	//Batch pages
	public static final String BATCH_NEW 						= "batch/create";
	public static final String BATCH_PEOPLE 					= "batch/people";
	public static final String BATCH_SUMMARY 					= "batch/summary";
	
	//Program Pages
	public static final String PROGRAM_NEW 						= "program/create";
	public static final String PROGRAM_SUMMARY 					= "program/summary";
	
	//group pages
	public static final String GROUPS_NEWS 						= "group";
	public static final String GROUPS_EDIT 						= "group/edit";
	public static final String GROUPS_CALENDAR 					= "group/calendar";
	public static final String GROUPS_FOLDER 					= "group/files";
	public static final String GROUPS_PEOPLE 					= "group/people";
	public static final String GROUPS_POLL 						= "group/poll";
	public static final String GROUPS_INVITE 					= "group/invite";
	
	//Backup
	public static final String BACKUP_DOWNLOAD_PATH 			= "backup";
	public static final String UPLOAD_BACKUPFILES 				= "ubkp";
	
}
